<template>
    <ul>
        <li>消息编号 {{ id }}</li>
        <li>消息标题 {{ title }}</li>
        <li>id的值：{{ id }}</li>
        <li>title的值：{{ title }}</li>
    </ul>


</template>

<script>
    export default {
        name: 'Detail',
        props: ['id', 'title'],
        mounted() {
            console.log('Detail组件被创建了', this.$route)
        }
    }

</script>

<style scoped>

</style>